using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Vecen.BangChuang.Authorization.Users;
using Vecen.BangChuang.BangChuang.Areas.DomainDtos;
using Vecen.BangChuang.BangChuang.Areas.Dtos;

namespace Vecen.BangChuang.Sessions.Dto {
    /// <summary>
    /// 
    /// </summary>
    [AutoMapFrom(typeof(User))]
    public class UserLoginInfoDto: EntityDto<long> {

        /// <summary>
        /// 头像ID
        /// </summary>
        public int? AvatarId { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 邮件地址
        /// </summary>
        public string EmailAddress { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string PhoneNumber { get; set; }

        /// <summary>
        /// 用户微信号
        /// </summary>
        public string WeChat { get; set; }

        /// <summary>
        /// 用户类别
        /// <seealso cref="BangChuang.UserType"/>
        /// </summary>
        public string UserType { get; set; }


        /// <summary>
        /// 用户注册填写的地区
        /// </summary>
        public string AreaInfo { get; set; }


        /// <summary>
        /// 是否可以提升为店长
        /// </summary>
        public bool HasPromotionToAgent { get; set; }

        /// <summary>
        /// 店长ID
        /// </summary>
        public int? AgentId { get; set; }

        /// <summary>
        /// 店长名称
        /// </summary>
        public string AgentName { get; set; }

        /// <summary>
        /// 店长手机号
        /// </summary>
        public string AgentPhoneNumber { get; set; }


        /// <summary>
        /// 城市信息
        /// </summary>
        public FullCityOutDto CityInfo { get; set; }
    }
}